package com.tzbank.utils;

/**
 * 错误编码类
 */
public enum CodeUtil {
	CODE_99999("其他异常","99999"),
	CODE_10001("验证码错误","10001"),
	CODE_10002("验证码发送错误","10002"),
	CODE_10003("转账失败","10003"),
	CODE_10004("密码错误","10004"),
	CODE_10000("参数错误","10000"),
	CODE_10005("身份证不合法","10005"),
	CODE_10006("客服实名信息不存在","10006"),
	CODE_10007("首次登陆","10007"),
	CODE_10008("密码为空","10008"),
	CODE_10009("用户被锁定","10009"),
	CODE_10010("密码异常","10010"),
	CODE_10011("用户不存在或状态不正常","10011"),
	CODE_10012("客户信息不存在","10012"),
	CODE_10013("客户渠道状态异常","10013"),
	CODE_10014("登录名不符合要求格式","10014"),
    CODE_10015("您已开通智脑平台","10015"),
    CODE_10016("验证码已过期","10016"),
    CODE_10017("验证码输入错误","10017"),
    CODE_10018("无效的账号/卡号","10018"),
    CODE_10019("卡号挂失解挂异常","10019"),
    CODE_10020("该卡号已经完成添加,无需重复添加","10020"),
    CODE_10021("交易密码错误","10021"),
    CODE_404("不存在","404"),
    CODE_500("错误","500"),
    CODE_200("成功","200");
   

    private String name;

    private String code;

    private CodeUtil(String name, String code){
        this.name = name;
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

}
